home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Business Assistant
/
Business Assistant.iso
/
checkb
/
cshc124
/
install.bat
< prev
next >
Wrap
DOS Batch File
|
1991-09-18
|
1KB
|
63 lines
ECHO OFF
CLS
if %1 == a: goto IMSG
if %1 == b: goto IMSG
if %1 == c: goto IMSG
if %1 == d: goto IMSG
if %1 == A: goto IMSG
if %1 == B: goto IMSG
if %1 == C: goto IMSG
if %1 == D: goto IMSG
ECHO .
ECHO Enter "install d:" where d is the desired disk drive. PAUSE Example, Use "INSTALL c:"
goto IEXIT
:IMSG
ECHO Installing Cash Control on disk drive %1
ECHO .
ECHO (Press Ctrl+Break to Quit)
ECHO .
PAUSE
ECHO .
ECHO .
if %1 == a: goto DISKETTE
if %1 == b: goto DISKETTE
if %1 == A: goto DISKETTE
if %1 == B: goto DISKETTE
ECHO ON
md %1\cashc
copy cashc.exe %1\cashc\*.*
copy cashc.ovr %1\cashc\*.*
copy cashc.pro %1\cashc\*.*
copy cashc.hlp %1\cashc\*.*
copy sample.ato %1\cashc\*.*
copy sample91.acc %1\cashc\*.*
copy readme %1\cashc\*.*
copy cga.bgi %1\cashc\*.*
copy egavga.bgi %1\cashc\*.*
if not exist %1\cashc\cashc.cod copy cashc.cod %1\cashc\*.*
ECHO OFF
goto FINISH
:DISKETTE
ECHO ON
copy cashc.exe %1\*.*
copy cashc.ovr %1\*.*
copy cashc.pro %1\*.*
copy cashc.hlp %1\*.*
copy sample.ato %1\*.*
copy sample91.acc %1\*.*
copy readme %1\*.*
copy cga.bgi %1\*.*
copy egavga.bgi %1\*.*
if not exist %1\cashc.cod copy cashc.cod %1\*.*
ECHO OFF
:FINISH
CLS
ECHO Cash Control is INSTALLED
ECHO .
ECHO .
:IEXIT